import React,{ Suspense } from 'react'
import ReactDOM from 'react-dom/client'
import {RouterProvider} from 'react-router-dom'
import router from './router'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
    <React.StrictMode>
        <Suspense>
            <RouterProvider router={router}></RouterProvider>
        </Suspense>
    </React.StrictMode>
)
